package com.inspur.his.service.impl;

import com.inspur.his.mapper.ZdMapper;
import com.inspur.his.pojo.RoExtExt;
import com.inspur.his.pojo.Ky;
import com.inspur.his.service.ZdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
@Service("ZdService")
public class ZdServiceImpl implements ZdService {
    @Autowired
    private ZdMapper zdMapper;
    @Override
    public List<RoExtExt> zdList(HashMap map) {
        return zdMapper.zdList(map);
    }

    @Override
    public void zdAdd(RoExtExt roExtExt) {
        zdMapper.zdAdd(roExtExt);
    }

    @Override
    public void deleteZdById(String id) {
        zdMapper.deleteZdById(id);
    }

    @Override
    public List<Ky> getkyById(String id) {
       return zdMapper.getkyById(id);
    }

    @Override
    public void kyAdd(Ky ky) {
        zdMapper.kyAdd(ky);
    }

    @Override
    public List<Ky> getypffById(String id) {
        return zdMapper.getypffById(id);
    }
}
